package priv.ln.polymorphism;

/**
 * ClassName: Person
 * Package: priv.ln.polymorphism
 * Description:
 * 在Person类中，包含
 *   ①public void eat()：打印吃饭
 *   ②public void toilet()：打印上洗手间
 * @Author 辣辣
 * @Create 2024/6/30 19:11
 * @Version 1.0
 */
public class Person {
    public void eat(){
        System.out.println("人吃饭");
    }

    public void toilet(){
        System.out.println("人去洗手间");
    }
}
